﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using DevExpress.Skins;
using DevExpress.XtraEditors.Controls;

namespace Atlandiz.EnvanterVeZimmetYonetimi
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            if (Army.CreateProgramDefaultFiles())
            {
                Army.GetLicenseInformation();
                Army.StartupEvents();

                System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("tr-TR");
                //DevExpress.LookAndFeel.UserLookAndFeel.Default.SkinName = "Seven";
                DevExpress.UserSkins.BonusSkins.Register();
                SkinManager.EnableFormSkins();


                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                Application.Run(new FormLogin());
                //Application.Run(new FormNesne());
            }
            else {
                Application.Exit();
            }
        }
    }
}
